getDistance

abstract fun getDistance(): Double

Gets an estimated distance to the beacon in meters. This estimation is typically calculated using the getRssi and getTxPower. Note that this is an approximation and can be affected by environmental factors.

Return

The estimated distance from the beacon in meters.